import requests
from business.request_sdk import do_reqeuests

def create_topic(topicdata):
    url = 'http://49.233.108.117:3000/api/v1/topics'
    return do_reqeuests(url=url,method='post', data=topicdata)


def topic_detail(id):
    url = 'http://49.233.108.117:3000/api/v1/topic/'+id
    # return requests.get(url)
    return do_reqeuests(url=url,method='get')

def get_token():
    return "e983ec8e-fc0b-4be2-845c-508452c4ad9a"